FROM alpine
MAINTAINER  Aze
## 配置 apk包加速镜像为阿里 2022
## https://blog.csdn.net/zjz5740/article/details/115652145
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk add --no-cache --upgrade bash
RUN apk add tzdata && \
    cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    echo "Asia/Shanghai" > /etc/timezone
WORKDIR /go/src/
EXPOSE 9999
ENTRYPOINT ["./start.sh"]